/* const express = require('express')
const app = express()

const self_mw_parser = require('./self_mw')
app.use(self_mw_parser)

app.post('/post',(req,res)=>{
    res.send(req.body)
})

app.get('/home',(req,res)=>{
    res.send(req.query)
})

app.listen(8080,()=>{
    console.log('8080 running')
}) */

const express = require('express')
const app = express()

const self_mw_parser = require('./self_mw')
app.use(self_mw_parser)

app.post('/post',(req,res)=>{
    res.send(req.body)
})

app.get('/home',(req,res)=>{
    res.send(req.query)
})

app.listen(8080,()=>{
    console.log('8080 running')
})